#ifndef __GUIWindowTarget__
#define __GUIWindowTarget__

#include "neiderra/render/iRenderTarget.h"

using namespace neiderra::rendering;

namespace neiderra
{
	namespace gui
	{
        class GUIWindowImpl;

		class GUIWindowTarget: public iRenderTarget
		{
		public:
			GUIWindowTarget(GUIWindowImpl*);
			virtual ~GUIWindowTarget();
			virtual unsigned getWidth();
			virtual unsigned getHeight();
			virtual void swapBuffers();
		protected:
			// fixme: GUIWindow* _target
			GUIWindowImpl* _target;
		};
	}
}

#endif
